package com.net.http;

public class HttpExceptionHandlerProxy {
	
	private static HttpExceptionHandlerProxy instance;
	
	private HttpExceptionHandlerProxy (){};
	
	public static HttpExceptionHandlerProxy getInstance(){
		if(instance==null){
			instance = new HttpExceptionHandlerProxy();
		}
		return instance;
	}
	
	public String authExceptionHandler(){
		if(mHttpAuthExceptionHandlerInter!=null){
			return mHttpAuthExceptionHandlerInter.authExceptionHandler();
		}
		return "";
	}
	
	private HttpAuthExceptionHandlerInter mHttpAuthExceptionHandlerInter;

	public HttpAuthExceptionHandlerInter getmHttpAuthExceptionHandlerInter() {
		return mHttpAuthExceptionHandlerInter;
	}

	public void setmHttpAuthExceptionHandlerInter(
			HttpAuthExceptionHandlerInter mHttpAuthExceptionHandlerInter) {
		this.mHttpAuthExceptionHandlerInter = mHttpAuthExceptionHandlerInter;
	}
	
}
